package be.bejug.scrumadmin.utils;

import org.springframework.web.context.support.WebApplicationObjectSupport;

/**
 * Application object support for Vaadin.
 * 
 * @author Glenn Dejaeger
 * 
 */
public class VaadinApplicationObjectSupport extends WebApplicationObjectSupport {

	/**
	 * Gets a message from a messageSource.
	 * 
	 * @param key
	 *            the key
	 * @param args
	 *            the args
	 * @return the message value
	 */
	public String getMessage(final String key, final String... args) {
		return getMessageSourceAccessor().getMessage(key, args);
	}

}
